package com.bean;

import javax.persistence.*;
import java.io.Serializable;

public class Questions implements Serializable {
    @Id
    private Integer id;

    private String content;

    private Integer answersid;

    private Integer score;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    /**
     * @return answersid
     */
    public Integer getAnswersid() {
        return answersid;
    }

    /**
     * @param answersid
     */
    public void setAnswersid(Integer answersid) {
        this.answersid = answersid;
    }

    /**
     * @return score
     */
    public Integer getScore() {
        return score;
    }

    /**
     * @param score
     */
    public void setScore(Integer score) {
        this.score = score;
    }
}